import http from '../index';

export const getAll = () => http({
    url: '/api/employess',
    method: 'get',
})
export const addemploye = (data) => http({
    url: '/api/employess',
    method: 'post',
    data
})
export const delemploye = (params) => http({
    url: '/api/employess/' + params,
    method: 'delete'
})
export const updataemploye = (params, data) => http({
    url: '/api/employess/' + params,
    method: 'put',
    data
})